This page last changed on Apr 29, 2006 by mryall.

You need to edit in 'Wiki Markup' mode to include macros in your page.

Use Confluence's Attachments macro to display the list of attachments that belong to a page.

Attachments macro

What you need to type What you will get
{attachments}
  Name Size Creator Date Comment  
File editProfile.png 33 kb Vidya Madabushi Aug 09, 2005     Edit | Remove
JPEG File office1.jpg 94 kb Vidya Madabushi Aug 09, 2005     Edit | Remove
JPEG File waterfall.jpg 1.27 Mb Vidya Madabushi Aug 09, 2005     Edit | Remove




Optional Parameters

Parameter Default Description
patterns all Specify which attachments to display using filename patterns
old false Include old attachments

1. Filter attachments by filename

Use a comma-separated list of regular expressions to specify the filenames of the attachments you want displayed.

Note

The patterns are regular expressions, so to match a file suffix of 'jpg', use .*jpg, not *.jpg.

Here's a detailed tutorial on regular expressions.


2. Include old attachments

An optional true/false value determines whether to show old versions of attachments. This is set to false by default.

RELATED TOPICS

Working with Attachments Overview
Working with Macros

Take me back to Confluence 2.0 Home


waterfall.jpg (image/jpeg)
office1.jpg (image/jpeg)
editProfile.png (image/png)
Document generated by Confluence on Jun 14, 2006 00:28